#include <crtdbg.h>
#define _CRTDBG_MAP_ALLOC

#include <stdio.h>
#include "Image_r.h"
#include "Image.h"
#include <string.h>
#include "Pixel.h"
#include "Pixel_r.h"

int main(){
	IMAGE *i;
	init_ImageClass();
	init_PixelClass();
	i = new(Image,4,5,5);
	ReadImage(i,"lol.bmp");
	WriteImage(i,"lolo.bmp");
	delete(i);

	_CrtDumpMemoryLeaks();
	return 0;


}
